package com.weng.cloud.config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;


/**
 * <br/>function:
 * <br/>tip:
 *
 * @param:
 * @return:
 * @author: weng
 * @date: 2022/3/11 18:00
 *
 * 不知为何：
 *  不得行:http://localhost:9002/application.dev.xml => classCastException 说啥list不能转成linkedHashmap
 *  得行:http://localhost:9002/application/dev
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableConfigServer
public class WengCloudConfigApplication {

    public static void main(String[] args) {
        SpringApplication.run(WengCloudConfigApplication.class, args);
    }

}
